/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.asseco.mio.codex;

import java.util.Date;
import javax.persistence.*;
import org.appfuse.model.BaseObject;
import org.hibernate.annotations.GenericGenerator;
/**
 *
 * @author bojan.dimovski
 */

@Entity @Table(name="FIRST_LOGIN")
public class FirstLoginModel  extends BaseObject {

    private String id;
    private String username;
    private String firstPassword;
    private boolean passwordStatus;

    @Column(name = "firstPassword", length = 255)
    public String getFirstPassword() {
        return firstPassword;
    }


    public void setFirstPassword(String firstPassword) {
        this.firstPassword = firstPassword;
    }

    @Column(name = "isFirstPassword", length = 255)
    public boolean isPasswordStatus() {
        return passwordStatus;
    }

    public void setPasswordStatus(boolean passwordStatus) {
        this.passwordStatus = passwordStatus;
    }

    @Id
    @GeneratedValue(generator = "system-uuid")
    @Column(name = "ID", length = 255)
    @GenericGenerator(name="system-uuid", strategy = "uuid")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Column(name = "username", length = 255)
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }




    @Override
    public String toString() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public boolean equals(Object o) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public int hashCode() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
